package com.lixin.admin.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName("lot_admin")
@ApiModel("管理员信息")
public class Admin {
    @TableId("id")
    @ApiModelProperty("管理员ID")
    private Long adminId;

    @TableField("account")
    @ApiModelProperty("管理员登录账号")
    private String adminAccount;

    @TableField("password")
    @ApiModelProperty("管理员登录密码")
    private String adminPassword;

    @TableField("created")
    @ApiModelProperty("管理员创建时间")
    private LocalDateTime adminCreated;

    @TableField("updated")
    @ApiModelProperty("管理员更新时间")
    private LocalDateTime adminUpdated;
}
